import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 配置ElementUI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 配置reset.scss后期用来重置整个项目的样式&字体图标
// @代表src目录 
import '@/assets/css/reset.scss'
// import '@/assets/font/iconfont.css'

// 第三方插件
// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
// 引入swiper 常用于轮播图
import vueSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(vueSwiper)
// 引入动画
import animated from 'animate.css'
Vue.use(animated)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

